<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<title>欢迎页面</title>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/common/css/layout.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/common/css/common.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/management/css/update.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/common/javascript/plugins/boxy/boxy.css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/common/javascript/jquery.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/common/javascript/plugins/boxy/jquery.boxy.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/common/javascript/plugins/jquery.extcloudSlideMenu.js"></script>
<%@include file="/WEB-INF/view/commonJavascriptVar.jsp"%>
<script type="text/javascript">
$(function() {
	$("li.layout_search_pull_ss a").extcloudSlideMenu({
		init_hideMenu: true ,
		speed: "fast"
	}) ;
});
</script>
</head>
<body>
<div id="layoutAll">
<table cellpadding="0" cellspacing="0" width="100%" id="layout_content">
	<tr>
		<td height="100" valign="top">
		<div id="layout_title">
		<h4>鸣谢修改</h4>
		</div>
		<div id="layout_search">
		<p>&nbsp;</p>
		</div>
		<div id="layout_search_pull">
		<ul>
			<li><a id="backSubmit" href="#"
				onclick="if(confirm('确定修改?')){$('#backForm').submit();}">确定修改</a></li>
			<li><img
				src="${pageContext.request.contextPath}/common/images/menufg.jpg" />
			</li>
			<li><a id="backSubmit"
				href="${pageContext.request.contextPath}/management/reference/index">取消并返回列表</a></li>
			<li><img
				src="${pageContext.request.contextPath}/common/images/menufg.jpg" /></li>
			<li class="layout_search_pull_ss"><a href="#"><img
				src="${pageContext.request.contextPath}/common/images/menu_up.gif" /></a></li>
		</ul>
		</div>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<div id="layout_content_body">
		<h1 align="center">鸣谢修改</h1>
		<center>
		<form id="backForm"
			action="${pageContext.request.contextPath}/management/reference/update/${reference.referenceId}"
			method="post">
		<table align="center" width="90%" border="1px" bordercolor="#D4D4D4"
			cellspacing="0px">
			<tr>
				<td><label for="referenceAuthorName">作者/源</label></td>
				<td><input name="referenceAuthorName" type="text"
					value="${reference.referenceAuthorName}" id="referenceAuthorName" /></td>
			</tr>
			<tr>
				<td><label for="referenceType">类型</label></td>
				<td><select name="referenceType">
					<c:forEach items="${types}" var="entry">
						<c:choose>
							<c:when test="${entry.value==reference.referenceType}">
								<option selected="selected" value="${entry.value}">${entry.key}</option>
							</c:when>
							<c:otherwise>
								<option value="${entry.value}">${entry.key}</option>
							</c:otherwise>
						</c:choose>
					</c:forEach>
				</select>
			</tr>
			<tr>
				<td><label for="referenceDescription">描述</label></td>
				<td><textarea name="referenceDescription"
					id="referenceDescription">${reference.referenceDescription}</textarea></td>
			</tr>
			<tr>
				<td><label for="referenceLink">链接</label></td>
				<td><input name="referenceLink" type="text" id="referenceLink"
					value="${reference.referenceLink}" /></td>
			</tr>
			<tr>
				<td><label for="referenceKeywords">关键字</label></td>
				<td><input name="referenceKeywords" type="text"
					id="referenceKeywords" value="${reference.referenceKeywords}" /></td>
			</tr>
		</table>
		</form>
		</center>
		</div>
		</td>
	</tr>
</table>
</div>
</body>
</html>